package com.cubeofnine.sugar.activity.export_contact;

import com.cubeofnine.android.api.contact.ContactList;

import android.content.Context;
import android.util.Log;

public class ExportContactsListRunnable implements Runnable {
	private Context context;
	private ContactList contacts;
	private String message;

	public ExportContactsListRunnable(Context context, ContactList contacts,
			String message) {
		super();
		this.context = context;
		this.contacts = contacts;
		this.message = message;
	}

	public String getClassName() {
		return ExportContactsListRunnable.class.getName();
	}

	public void run() {
		Log.i(getClassName(), "run() : Start");

		((ExportContactsListActivity) context)
				.initialProcess(contacts, message);

		Log.i(getClassName(), "run() : End");
	}

}
